package com.happyclub.lcy.service;

import com.happyclub.pojo.TbTourTeam;
import com.happyclub.utils.JsonResult;



public interface ITeamService {
   //查询该用户的所加入的所有队伍信息
   JsonResult getAllTeamInforByUserId(String userId);
   //查找驴友队所有成员
   JsonResult getAllUserInforByTeamId(String teamId);
   //创建驴友队
   JsonResult newTeam(TbTourTeam tourTeam, String userId);
//查找驴友队根据队伍id
   JsonResult selectTourTeam(String teamId);
//加入驴友队
   JsonResult putTourTeam(String teamId, String userId);
   //退出驴友队
   JsonResult deltourTeam(String userId, String teamId);
   //任命副队长
   JsonResult upUserRoleByUserId(String userId, String teamId);
   //取消副队长
    JsonResult delUserRoleByUserId(String userId, String teamId);
    //提升管理员
   JsonResult appointLeader(String userId, String teamId);
   //转让驴友队
   JsonResult assignmentTourPal(String teamId, String userId);



}
